package cn.tedu.oop;

public class hero222 {
    public static void main(String[] args) {
        Hero1 Garen = new Hero1();




    }
}
class Hero1{
     String name;
     double hp;//血量
     int armor;//护甲
     double moveSpeed;//移动速度
     double blood;//回血
    int addArmor;//提升护甲
     double speed;
    double getHp(){
       // System.out.println("盖伦的血量为"+hp);
        return hp;
    }
    int getArmor(){
        return armor;
    }
    double getSpeed(){
        return speed;
    }
    void recovery(double blood){
       hp=hp+blood;
    }
    void getArmor(int addArmor){
        armor=armor+addArmor;
    }
    public void legendary(){
        System.out.println("你超神了");
    }


}